import request from '@/utils/request'

// 查询公司工厂清单列表
export function listProductCompetitionLandscape(query) {
  return request({
    url: '/pms/productCompetitionLandscape/list',
    method: 'get',
    params: query
  })
}

// 查询公司工厂清单详细
export function getProductCompetitionLandscape(id) {
  return request({
    url: '/pms/productCompetitionLandscape/' + id,
    method: 'get'
  })
}

// 新增公司工厂清单
export function addProductCompetitionLandscape(data) {
  return request({
    url: '/pms/productCompetitionLandscape',
    method: 'post',
    data: data
  })
}

// 修改公司工厂清单
export function updateProductCompetitionLandscape(data) {
  return request({
    url: '/pms/productCompetitionLandscape',
    method: 'put',
    data: data
  })
}

// 删除公司工厂清单
export function delProductCompetitionLandscape(id) {
  return request({
    url: '/pms/productCompetitionLandscape/' + id,
    method: 'delete'
  })
}
